﻿<%@ Page PathInChannel="album/{ID}{Ext}" Object="Album" %>
<%@ OutputCache Duration="86400" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="Album" Object="Album" PageID="Request.QueryString['ID']" ForMeta="true" />
<ali:Get ID="Config" Object="InstanceConfig" Operation="GetBasicSettings()" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=Album[Name]%> - 专辑 - <%=Channel[Name]%> - <%=Site[Name]%></title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "album";
var _webPath = "<%=WebPath%>";
var _lang = "<%=PageLang%>";
var _id = "<%=Album[InnerID]%>";
var _guid = "<%=Album[ID]%>";
var _commentPage = "<%=BuildUrl("ajax_album_comment")%>";
var _albumDefaultThumbnail = "<%=Config[AlbumDefaultThumbnail]%>";
var _checkComment = <%=Config[CheckComment]%>;
var _lang_name = "名称不能为空！";
var _lang_password = "密码不能为空！";
var _lang_content = "内容不能为空！";
var _lang_cant_login = "会员名或密码有误！";
var _lang_cant_post_comment = "发表评论失败！";
var _lang_post_comment_success = "发表评论成功！";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<div class="Wrap">
	<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
		<div class="Menu">
			<ali:Record>
				<ali:Select>
					<ali:Yes>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><strong><%=Name%></strong></a>
					</ali:Yes>
					<ali:No>
						<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
					</ali:No>
				</ali:Select>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</ali:Menu>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：视频 - Banner" -->
<div class="Wrap">
	<div class="Ad1">
		<ali:Ad Guid="{5113C7B0-C8D2-4d4d-8A95-AAB25C4367D5}">
			<a href="http://www.alibaza.com" target="_blank"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:980px;height:100px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="视频类别" -->
<ali:List Object="VideoCategory" Condition="IsDisplay=true and ParentID IS NULL">
	<div class="Wrap">
		<div class="SubMenu">
			<ali:Record>
				<a href="<%=BuildUrl()%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Wrap">
	<div class="Search">
		<form id="Search" action="" target="_blank">
			<input type="radio" name="Search" id="VideoSearch" value="<%=BuildUrl("video_search")%>" /><label for="VideoSearch">视频</label>
			<input type="radio" name="Search" id="AlbumSearch" value="<%=BuildUrl("album_search")%>" checked="checked" /><label for="AlbumSearch">专辑</label>
			<input type="radio" name="Search" id="PersonSearch" value="<%=BuildUrl("person_search")%>" /><label for="PersonSearch">人物</label>
			<input type="text" name="q" size="40" class="Text <%=PageLang%>Font" />
			<input type="submit" value="搜 索" class="Submit" />
		</form>
	</div>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<!-- TemplateBeginEditable name="广告位：视频 - 搜索下方 - 左" -->
	<div class="Ad2">
		<ali:Ad Guid="{3ED9DF19-3C42-451a-BD57-30045A6C3970}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad4.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：视频 - 搜索下方 - 中" -->
	<div class="Ad2">
		<ali:Ad Guid="{9017140B-0BCF-45dd-B8ED-65B5369C7F84}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:480px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
	<!-- TemplateBeginEditable name="广告位：视频 - 搜索下方 - 右" -->
	<div class="Ad2">
		<ali:Ad Guid="{B9E89322-774F-4dc3-909D-938BDA9809FF}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad8.gif" alt="Ad" style="width:250px;height:60px" /></a>
		</ali:Ad>
	</div>
	<!-- TemplateEndEditable -->
</div>

<!-- TemplateBeginEditable name="路径" -->
<div class="Wrap">
	<div class="Path">当前位置：
		<ali:Path IncludeCurrentChannel="True">
			<ali:Record>
				<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt; 
			</ali:Record>
		</ali:Path>
		<a href="<%=BuildUrl("album_list")%>" title="专辑列表">专辑列表</a> &gt; <%=Album[Name]%>
	</div>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Block5 Margin2">
		<!-- TemplateBeginEditable name="广告位：视频 - 侧栏顶部" -->
		<div class="Ad9">
			<ali:Ad Guid="{73583263-DA6C-4c7c-A55A-537B329B10A2}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad8.gif" alt="Ad" style="width:220px;height:60px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="点击排行" -->
		<h4>点击排行</h4>
		<ali:List Object="Album" Page="1" PageSize="10" Condition="IsDeleted=false and IsChecked=true" Sort="HitCount DESC">
			<ul class="List5">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" title="<%=Name%>" class="No<%=Index + 1%>"><%=Name%></a><span><%=HitCount%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom2"></div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="最新更新" -->
		<h4>最新更新</h4>
		<ali:List Object="Album" Page="1" PageSize="10" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
			<ul class="List2">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" title="<%=Name%>"><%=Name%></a><span><%=Convert.ToDateTime(UpdateTime).ToString("yyyy-MM-dd")%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<div class="Bottom2"></div>
		<!-- TemplateEndEditable -->

		<!-- TemplateBeginEditable name="广告位：视频 - 侧栏底部" -->
		<h4></h4>
		<div class="Block6">
			<div class="Ad9">
				<ali:Ad Guid="{0F31FF5A-BB9C-4e4c-8A6B-5A0C8F4AE8A9}">
					<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad14.gif" alt="Ad" style="width:200px;height:200px" /></a>
				</ali:Ad>
			</div>
		</div>
		<div class="Bottom2"></div>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block4">
		<!-- TemplateBeginEditable name="档案" -->
		<h4><%=Album[Name]%></h4>
		<div class="Block10">
			<dl>
				<dt><img src="<%=Album[Picture]%>" alt="<%=Album[Name]%>" /></dt>
				<dd><strong>专辑名：</strong><%=Album[Name]%></dd>
				<dd><strong>类 别：</strong>
					<%If !Guid.Equals(Album[CategoryID], Guid.Empty)%>
						<a href="<%=BuildUrl("album_category", "PageTemplate=" + Album[CategoryPageTemplate] + "&ID=" + Album[CategoryPageID] + "&Ext=" + Album[CategoryPageExtension])%>" title="<%=Album[CategoryName]%>"><%=Album[CategoryName]%></a>
					<%EndIf%>
				</dd>
				<dd><strong>标签：</strong>
					<ali:List Source="Manager.SplitToTable(Album[TagNames], Album[TagPageTemplates], Album[TagPageIDs], Album[TagPageExtensions])">
						<ali:Record>
							<a href="<%=BuildUrl("album_tag", "PageTemplate=" + [1] + "&ID=" + [2] + "&Ext=" + [3])%>" title="<%=[0]%>"><%=[0]%></a>
						</ali:Record>
					</ali:List>
				</dd>
				<dd><strong>人物：</strong>
					<ali:List Source="Manager.SplitToTable(Album[PersonNames], Album[PersonPageTemplates], Album[PersonPageIDs], Album[PersonPageExtensions])">
						<ali:Record>
							<a href="<%=BuildUrl("person", "PageTemplate=" + [1] + "&ID=" + [2] + "&Ext=" + [3])%>" title="<%=[0]%>"><%=[0]%></a>
						</ali:Record>
					</ali:List>
				</dd>
				<dd><strong>唱片公司：</strong>
					<%If !Guid.Equals(Album[CompanyID], Guid.Empty)%>
						<a href="<%=BuildUrl("company", "PageTemplate=" + Album[CompanyPageTemplate] + "&ID=" + Album[CompanyPageID] + "&Ext=" + Album[CompanyPageExtension])%>" title="<%=Album[CompanyName]%>"><%=Album[CompanyName]%></a>
					<%EndIf%>
				</dd>
				<dd><strong>地区：</strong>
					<%If !Guid.Equals(Album[RegionID], Guid.Empty)%>
						<a href="<%=BuildUrl("album_region", "PageTemplate=" + Album[RegionPageTemplate] + "&ID=" + Album[RegionPageID] + "&Ext=" + Album[RegionPageExtension])%>" title="<%=Album[RegionName]%>"><%=Album[RegionName]%></a>
					<%EndIf%>
				</dd>
				<dd><strong>语言：</strong>
					<%If !Guid.Equals(Album[LanguageID], Guid.Empty)%>
						<a href="<%=BuildUrl("album_language", "PageTemplate=" + Album[LanguagePageTemplate] + "&ID=" + Album[LanguagePageID] + "&Ext=" + Album[LanguagePageExtension])%>" title="<%=Album[LanguageName]%>"><%=Album[LanguageName]%></a>
					<%EndIf%>
				</dd>
				<dd><strong>人气：</strong><span id="HitCount"></span></dd>
				<dd>
					<p>
						<a href="" id="Up">顶 (<span></span>)</a> <a href="" id="Down">踩 (<span></span>)</a>
					</p>
				</dd>
			</dl>
			<strong>简介：</strong>
			<%=Album[Description]%>
		</div>		
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="所有视频" -->
		<h4><%=Album[Name]%>所有视频</h4>
		<ali:List Object="Video" Condition="IsDeleted=false and IsChecked=true and AlbumPageIDs LIKE '%|' + Request.QueryString['ID'] + '|%'">
			<ul class="List7">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" class="Img1" /></a><br /><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a></li>
				</ali:Record>
			</ul>
		</ali:List>
		<!-- TemplateEndEditable -->
		
		<%If Convert.ToBoolean(Config[EnableComment])%>
			<h5>
				<span class="Left">网友评论（<span id="CommentCount">0</span>）</span>
				<span class="Right"><a href="javascript:;" id="WriteComment">我也要写评论</a></span>
			</h5>
			<div class="Block11">
				<!-- TemplateBeginEditable name="评论列表" -->
				<div id="Comment"></div>
				<!-- TemplateEndEditable -->
				
				<!-- TemplateBeginEditable name="广告位：视频 - 评论下方" -->
				<div class="Ad20">
					<ali:Ad Guid="{9AF14818-D52E-4bae-B048-2120370B53AE}">
						<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad7.gif" alt="Ad" style="width:468px;height:60px" /></a>
					</ali:Ad>
				</div>
				<!-- TemplateEndEditable -->
				
				<!-- TemplateBeginEditable name="评论表单" -->
				<form id="CommentForm" action="">
					<textarea name="Content" cols="74" rows="7" class="<%=PageLang%>Font"></textarea><br />
					<%If Manager.HasRight("", InstanceID, PageLang, "AlbumComment", "Add")%>
						<input type="checkbox" name="Anonymous" id="Anonymous" checked="checked" /><label for="Anonymous">匿名</label>
					<%Else%>
						<input type="checkbox" name="Anonymous" id="Anonymous" style="display:none" />
					<%EndIf%>
					用户名：<input type="text" size="20" name="Name" class="<%=PageLang%>Font" />
					<label id="PasswordLabel">密码：<input type="password" size="20" name="Password" class="CHSFont" /></label>
					<%If UserChannel != null%>
						<a href="<%=BuildUrl(UserChannel, "register", null)%>" target="_blank" title="新用户">新用户?</a>
					<%EndIf%>
					<input type="submit" value="提交评论" />
					<input type="hidden" name="ToID" />
				</form>
				<!-- TemplateEndEditable -->
			</div>
		<%EndIf%>
	</div>
</div>

<!-- TemplateBeginEditable name="广告位：视频 - 网页底部" -->
<div class="Wrap">
	<div class="Ad10">
		<ali:Ad Guid="{AA4A132F-2575-4492-8442-B6153348F605}">
			<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad10.jpg" alt="Ad" style="width:980px;height:70px" /></a>
		</ali:Ad>
	</div>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="友情连接" -->
<ali:List Mark="System" Object="Link" Condition="IsChecked=true">
	<div class="Wrap">
		<div class="Link">
			<h1>友情链接</h1>
			<ul>
				<ali:Record>
					<li>
						<%If Convert.IsDBNull(Logo)%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						<%Else%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a>
						<%EndIf%>
					</li>
				</ali:Record>
			</ul>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Footer">
		<!-- TemplateBeginEditable name="脚注菜单" -->
		<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
			<ali:Record>
				<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				<ali:Separator>|</ali:Separator>
			</ali:Record>
			<hr size="1" />
		</ali:Menu>
		<!-- TemplateEndEditable -->
	
		<%=Footer%>
	</div>
</div>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
